package com.dream.style;

import android.app.Activity;
import android.content.Intent;
import android.os.Build;
import android.os.Bundle;

import com.dream.style.app.ac.acc.LoginActivity;

import static android.view.WindowManager.LayoutParams.FLAG_DITHER;

public class SplashActivity extends Activity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);

        start(LoginActivity.class);
    }

    private void start(Class s) {
        Intent i = new Intent(this, s);
        startActivity(i);
        finish();


    }


}
